function deleteorder(orderId,orderstatus) {
//	if(confirm('是否删除'+orderId)){
//    location.href = "/deleteOrder/";
//	}
	alert(orderstatus);
	if(confirm(orderstatus+'是否删除'+orderId)){
		
		$.ajax({
			type:"POST",
			url:"/deleteOrder",
			//contentType : "application/json",
			data:{
				orderId:orderId,
				orderstatus:orderstatus
				},
			dataType:"json",
			
			success:function(data){
				
				if(data.success){
				alert('删除成功');
				
				location.href = "/showAllOrder";
				}else{
					alert('删除失败,该账单还没结账');
					location.href = "/showAllOrder";
				}
			}
		});				
	}
}
//页面跳转式查看详细订单
function findbyorderid(orderId){
	location.href = "/findByOrderId/"+orderId;
}
